{include file="head.html"}
<div id="maincontent">
  <div class="wrap">
    <div class="crumbs"> <a href="__APP__/index/home">{lang='扩展'}</a> <a href="__URL__">{lang='碎片管理'}</a> </div>
    <hr />
    <div class="admin_main_function">
    <a href="__URL__/add">{lang='添加碎片'}</a>
    </div>
    <table class="list_table table_style">
      <thead>
         <tr>
            <th width="10%"><div align="center">ID</div></th>
            <th width="30%"><div align="center">{lang='碎片功能'}</div></th>
            <th width="30%"><div align="center">{lang='调用标签'}</div></th>
            <th width="30%"><div align="center">{lang='管理操作'}</div></th>
          </tr>
      </thead>      
      <?php if(is_array($list)) foreach ($list as $vo) { ?>
        <tr>
          <td align="center">{$vo['id']}</td>
          <td align="center">{$vo['title']}</td>
          <td align="center"><span>{</span>my:{$vo['sign']}<span>}</span></td>
          <td align="center"><a href="__URL__/edit-{$vo['id']}">{lang='修改'}</a> | <a onclick="del('__URL__/del-{$vo['id']}','{lang='确认要删除该碎片吗？'}','{lang='操作提示'}',this)" href="javascript:void(0)">{lang='删除'}</a></td>
        </tr>
        <?php } ?>
    </table>
  </div>
</div>
</body></html>